//
//  ResourceOfPriceCell.m
//  lv678
//
//  Created by apple on 15/9/13.
//  Copyright (c) 2015年 lampshade. All rights reserved.
//

#import "ResourceOfPriceCell.h"
@interface ResourceOfPriceCell()
@property (weak, nonatomic) IBOutlet UILabel *lblDate;

@property (weak, nonatomic) IBOutlet UILabel *lblPrice;

@end

@implementation ResourceOfPriceCell

- (void)awakeFromNib {

}

- (void)setModel:(ScenerySourceDataModel *)model{
    NSString *date = model.date;
    NSString *price = @"￥";
    price = [price stringByAppendingString:[NSString stringWithFormat:@"%d",model.price]];
    self.lblDate.text = [date substringToIndex:10];
    self.lblPrice.text = price;

}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
}

@end
